<template>
  <span class="thumb">
    <AImage v-if="fileUrl" :src="fileUrl" :width="104" />
  </span>
</template>
<script lang="ts" setup>
  import { PropTypes } from '@/utils/propTypes';

  defineProps({
    fileUrl: PropTypes.string.def(''),
    fileName: PropTypes.string.def(''),
  });
</script>
<style lang="less">
  .thumb {
    img {
      display: block;
      position: static;
      border-radius: 4px;
      cursor: zoom-in;
      object-fit: cover;
    }
  }
</style>
